#include "stdafx.h"
#include "problem_solver_core.h"
#include "problem.h"
#include "Start Form.h"

namespace SimpleGUI
{
	using namespace System;
	using namespace System::ComponentModel;
	using namespace System::Collections;
	using namespace System::Windows::Forms;
	using namespace System::Data;
	using namespace System::Drawing;

	Start::Start(void)
	{
		InitializeComponent();
		simple_character_recognition_toolTip->SetToolTip(simple_character_recognition_button, "Create your own characters and save them as a text file (an English alphabet file has already been created for you).");
		complex_character_recognition_toolTip->SetToolTip(complex_character_recognition_button, "Use real-world hand-written characters (digits only) from the MNIST database (the IDX files have already been downloaded for you).");
	};

	Start::~Start()
	{
		if (components)
		{
			delete components;
		}
	};

	System::Void Start::simple_character_recognition_button_Click(System::Object^  sender, System::EventArgs^  e)
	{
		nnse::problem<bool, double>^ simple_character_recognition_problem=gcnew nnse::problem<bool, double>();
	};

	System::Void Start::complex_character_recognition_button_Click(System::Object^  sender, System::EventArgs^  e)
	{
		nnse::problem<unsigned char, double>^ complex_character_recognition_problem=gcnew nnse::problem<unsigned char, double>();
	};
}
